package com.qf.service.impl;

import com.qf.dao.DeptDao;
import com.qf.entity.Dept;
import com.qf.service.DeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("deptService")
public class DeptServiceImpl implements DeptService {
    @Resource
    private DeptDao deptDao;
    public Dept insertDept(Dept dept) {
        return deptDao.save(dept);
    }
}
